clear all
close all
clc

PRKS_5_ROUND = 0;
PRKS_LARGE_5_ROUND = 1;
PRKS_LIGHT_5_ROUND = 0;
VARIANTS_1_ROUND = 0;
VARIANTS_5_ROUND = 0;


if PRKS_5_ROUND == 1
  %PRKS
  prks951 = importdata('PRKS95_throughput_rd1.txt');
  prks952 = importdata('PRKS95_throughput_rd2.txt');
  prks953 = importdata('PRKS95_throughput_rd3.txt');
  prks954 = importdata('PRKS95_throughput_rd4.txt');
  prks955 = importdata('PRKS95_throughput_rd5.txt');
  throughput_prks95 = [prks951; prks952;prks953;prks954;prks955];

  prks901 = importdata('PRKS90_throughput_rd1.txt');
  prks902 = importdata('PRKS90_throughput_rd2.txt');
  prks903 = importdata('PRKS90_throughput_rd3.txt');
  prks904 = importdata('PRKS90_throughput_rd4.txt');
  prks905 = importdata('PRKS90_throughput_rd5.txt');
  throughput_prks90 = [prks901; prks902;prks903;prks904;prks905];

  prks801 = importdata('PRKS80_throughput_rd1.txt');
  prks802 = importdata('PRKS80_throughput_rd2.txt');
  prks803 = importdata('PRKS80_throughput_rd3.txt');
  prks804 = importdata('PRKS80_throughput_rd4.txt');
  prks805 = importdata('PRKS80_throughput_rd5.txt');
  throughput_prks80 = [prks801; prks802;prks803;prks804;prks805];

  prks701 = importdata('PRKS70_throughput_rd1.txt');
  prks702 = importdata('PRKS70_throughput_rd2.txt');
  prks703 = importdata('PRKS70_throughput_rd3.txt');
  prks704 = importdata('PRKS70_throughput_rd4.txt');
  prks705 = importdata('PRKS70_throughput_rd5.txt');
  throughput_prks70 = [prks701; prks702;prks703;prks704;prks705];


  %RIDB
  rid951 = importdata('RID95_throughput_rd1.txt');
  rid952 = importdata('RID95_throughput_rd2.txt');
  rid953 = importdata('RID95_throughput_rd3.txt');
  rid954 = importdata('RID95_throughput_rd4.txt');
  rid955 = importdata('RID95_throughput_rd5.txt');
  throughput_rid95 = [rid951; rid952;rid953;rid954;rid955];

  rid901 = importdata('RID90_throughput_rd1.txt');
  rid902 = importdata('RID90_throughput_rd2.txt');
  rid903 = importdata('RID90_throughput_rd3.txt');
  rid904 = importdata('RID90_throughput_rd4.txt');
  rid905 = importdata('RID90_throughput_rd5.txt');
  throughput_rid90 = [rid901; rid902;rid903;rid904;rid905];

  rid801 = importdata('RID80_throughput_rd1.txt');
  rid802 = importdata('RID80_throughput_rd2.txt');
  rid803 = importdata('RID80_throughput_rd3.txt');
  rid804 = importdata('RID80_throughput_rd4.txt');
  rid805 = importdata('RID80_throughput_rd5.txt');
  throughput_rid80 = [rid801; rid802;rid803;rid804;rid805];

  rid701 = importdata('RID70_throughput_rd1.txt');
  rid702 = importdata('RID70_throughput_rd2.txt');
  rid703 = importdata('RID70_throughput_rd3.txt');
  rid704 = importdata('RID70_throughput_rd4.txt');
  rid705 = importdata('RID70_throughput_rd5.txt');
  throughput_rid70 = [rid701; rid702;rid703;rid704;rid705];


  %CMAC
  cmac951 = importdata('CMAC95_throughput_rd1.txt');
  cmac952 = importdata('CMAC95_throughput_rd2.txt');
  cmac953 = importdata('CMAC95_throughput_rd3.txt');
  cmac954 = importdata('CMAC95_throughput_rd4.txt');
  cmac955 = importdata('CMAC95_throughput_rd5.txt');
  throughput_cmac95 = [cmac951; cmac952;cmac953;cmac954;cmac955];

  cmac901 = importdata('CMAC90_throughput_rd1.txt');
  cmac902 = importdata('CMAC90_throughput_rd2.txt');
  cmac903 = importdata('CMAC90_throughput_rd3.txt');
  cmac904 = importdata('CMAC90_throughput_rd4.txt');
  cmac905 = importdata('CMAC90_throughput_rd5.txt');
  throughput_cmac90 = [cmac901; cmac902;cmac903;cmac904;cmac905];

  cmac801 = importdata('CMAC80_throughput_rd1.txt');
  cmac802 = importdata('CMAC80_throughput_rd2.txt');
  cmac803 = importdata('CMAC80_throughput_rd3.txt');
  cmac804 = importdata('CMAC80_throughput_rd4.txt');
  cmac805 = importdata('CMAC80_throughput_rd5.txt');
  throughput_cmac80 = [cmac801; cmac802;cmac803;cmac804;cmac805];

  cmac701 = importdata('CMAC70_throughput_rd1.txt');
  cmac702 = importdata('CMAC70_throughput_rd2.txt');
  cmac703 = importdata('CMAC70_throughput_rd3.txt');
  cmac704 = importdata('CMAC70_throughput_rd4.txt');
  cmac705 = importdata('CMAC70_throughput_rd5.txt');
  throughput_cmac70 = [cmac701; cmac702;cmac703;cmac704;cmac705];


  %%CSMA
  csma1 = importdata('CSMA_throughput_rd1.txt');
  csma2 = importdata('CSMA_throughput_rd2.txt');
  csma3 = importdata('CSMA_throughput_rd3.txt');
  csma4 = importdata('CSMA_throughput_rd4.txt');
  csma5 = importdata('CSMA_throughput_rd5.txt');
  throughput_csma = [csma1; csma2;csma3;csma4;csma5];


  %%RTSCTS
  rtscts1 = importdata('RTSCTS_throughput_rd1.txt');
  rtscts2 = importdata('RTSCTS_throughput_rd2.txt');
  rtscts3 = importdata('RTSCTS_throughput_rd3.txt');
  rtscts4 = importdata('RTSCTS_throughput_rd4.txt');
  rtscts5 = importdata('RTSCTS_throughput_rd5.txt');
  throughput_rtscts = [rtscts1; rtscts2;rtscts3;rtscts4;rtscts5];


  %SCREAM
  scream1 = importdata('SCREAM_throughput_rd1.txt');
  scream2 = importdata('SCREAM_throughput_rd2.txt');
  scream3 = importdata('SCREAM_throughput_rd3.txt');
  scream4 = importdata('SCREAM_throughput_rd4.txt');
  scream5 = importdata('SCREAM_throughput_rd5.txt');
  throughput_scream = [scream1; scream2;scream3;scream4;scream5];

  %{
  %I-ORDER
  %load iOrder_73.mat
  load small_70.mat
  iOrder70 = result(:,2);
  %load iOrder_83.mat
  load small_80.mat
  iOrder80 = result(:,2);
  %load iOrder_93.mat
  load small_90.mat
  iOrder90 = result(:,2);
  %load iOrder_98.mat 
  load small_95.mat
  iOrder95 = result(:,2);
  %}
  save throughput_samples.mat
end
if (PRKS_LARGE_5_ROUND == 1)
  %PRKS
  prks951 = importdata('PRKS95_LARGE_throughput_rd1.txt');
  prks952 = importdata('PRKS95_LARGE_throughput_rd2.txt');
  prks953 = importdata('PRKS95_LARGE_throughput_rd3.txt');
  prks954 = importdata('PRKS95_LARGE_throughput_rd4.txt');
  prks955 = importdata('PRKS95_LARGE_throughput_rd5.txt');
  throughput_prks95 = [prks951; prks952;prks953;prks954;prks955];

  prks901 = importdata('PRKS90_LARGE_throughput_rd1.txt');
  prks902 = importdata('PRKS90_LARGE_throughput_rd2.txt');
  prks903 = importdata('PRKS90_LARGE_throughput_rd3.txt');
  prks904 = importdata('PRKS90_LARGE_throughput_rd4.txt');
  prks905 = importdata('PRKS90_LARGE_throughput_rd5.txt');
  throughput_prks90 = [prks901; prks902;prks903;prks904;prks905];

  prks801 = importdata('PRKS80_LARGE_throughput_rd1.txt');
  prks802 = importdata('PRKS80_LARGE_throughput_rd2.txt');
  prks803 = importdata('PRKS80_LARGE_throughput_rd3.txt');
  prks804 = importdata('PRKS80_LARGE_throughput_rd4.txt');
  prks805 = importdata('PRKS80_LARGE_throughput_rd5.txt');
  throughput_prks80 = [prks801; prks802;prks803;prks804;prks805];

  prks701 = importdata('PRKS70_LARGE_throughput_rd1.txt');
  prks702 = importdata('PRKS70_LARGE_throughput_rd2.txt');
  prks703 = importdata('PRKS70_LARGE_throughput_rd3.txt');
  prks704 = importdata('PRKS70_LARGE_throughput_rd4.txt');
  prks705 = importdata('PRKS70_LARGE_throughput_rd5.txt');
  throughput_prks70 = [prks701; prks702;prks703;prks704;prks705];


  %RIDB
  rid951 = importdata('RID95_LARGE_throughput_rd1.txt');
  rid952 = importdata('RID95_LARGE_throughput_rd2.txt');
  rid953 = importdata('RID95_LARGE_throughput_rd3.txt');
  rid954 = importdata('RID95_LARGE_throughput_rd4.txt');
  rid955 = importdata('RID95_LARGE_throughput_rd5.txt');
  throughput_rid95 = [rid951; rid952;rid953;rid954;rid955];

  rid901 = importdata('RID90_LARGE_throughput_rd1.txt');
  rid902 = importdata('RID90_LARGE_throughput_rd2.txt');
  rid903 = importdata('RID90_LARGE_throughput_rd3.txt');
  rid904 = importdata('RID90_LARGE_throughput_rd4.txt');
  rid905 = importdata('RID90_LARGE_throughput_rd5.txt');
  throughput_rid90 = [rid901; rid902;rid903;rid904;rid905];

  rid801 = importdata('RID80_LARGE_throughput_rd1.txt');
  rid802 = importdata('RID80_LARGE_throughput_rd2.txt');
  rid803 = importdata('RID80_LARGE_throughput_rd3.txt');
  rid804 = importdata('RID80_LARGE_throughput_rd4.txt');
  rid805 = importdata('RID80_LARGE_throughput_rd5.txt');
  throughput_rid80 = [rid801; rid802;rid803;rid804;rid805];

  rid701 = importdata('RID70_LARGE_throughput_rd1.txt');
  rid702 = importdata('RID70_LARGE_throughput_rd2.txt');
  rid703 = importdata('RID70_LARGE_throughput_rd3.txt');
  rid704 = importdata('RID70_LARGE_throughput_rd4.txt');
  rid705 = importdata('RID70_LARGE_throughput_rd5.txt');
  throughput_rid70 = [rid701; rid702;rid703;rid704;rid705];



  %CMAC
  cmac951 = importdata('CMAC95_LARGE_throughput_rd1.txt');
  cmac952 = importdata('CMAC95_LARGE_throughput_rd2.txt');
  cmac953 = importdata('CMAC95_LARGE_throughput_rd3.txt');
  cmac954 = importdata('CMAC95_LARGE_throughput_rd4.txt');
  cmac955 = importdata('CMAC95_LARGE_throughput_rd5.txt');
  throughput_cmac95 = [cmac951; cmac952;cmac953;cmac954;cmac955];

  cmac901 = importdata('CMAC90_LARGE_throughput_rd1.txt');
  cmac902 = importdata('CMAC90_LARGE_throughput_rd2.txt');
  cmac903 = importdata('CMAC90_LARGE_throughput_rd3.txt');
  cmac904 = importdata('CMAC90_LARGE_throughput_rd4.txt');
  cmac905 = importdata('CMAC90_LARGE_throughput_rd5.txt');
  throughput_cmac90 = [cmac901; cmac902;cmac903;cmac904;cmac905];

  cmac801 = importdata('CMAC80_LARGE_throughput_rd1.txt');
  cmac802 = importdata('CMAC80_LARGE_throughput_rd2.txt');
  cmac803 = importdata('CMAC80_LARGE_throughput_rd3.txt');
  cmac804 = importdata('CMAC80_LARGE_throughput_rd4.txt');
  cmac805 = importdata('CMAC80_LARGE_throughput_rd5.txt');
  throughput_cmac80 = [cmac801; cmac802;cmac803;cmac804;cmac805];

  cmac701 = importdata('CMAC70_LARGE_throughput_rd1.txt');
  cmac702 = importdata('CMAC70_LARGE_throughput_rd2.txt');
  cmac703 = importdata('CMAC70_LARGE_throughput_rd3.txt');
  cmac704 = importdata('CMAC70_LARGE_throughput_rd4.txt');
  cmac705 = importdata('CMAC70_LARGE_throughput_rd5.txt');
  throughput_cmac70 = [cmac701; cmac702;cmac703;cmac704;cmac705];


  %%CSMA
  csma1 = importdata('CSMA_LARGE_throughput_rd1.txt');
  csma2 = importdata('CSMA_LARGE_throughput_rd2.txt');
  csma3 = importdata('CSMA_LARGE_throughput_rd3.txt');
  csma4 = importdata('CSMA_LARGE_throughput_rd4.txt');
  csma5 = importdata('CSMA_LARGE_throughput_rd5.txt');
  throughput_csma = [csma1; csma2;csma3;csma4;csma5];


  %%RTSCTS
  rtscts1 = importdata('RTSCTS_LARGE_throughput_rd1.txt');
  rtscts2 = importdata('RTSCTS_LARGE_throughput_rd2.txt');
  rtscts3 = importdata('RTSCTS_LARGE_throughput_rd3.txt');
  rtscts4 = importdata('RTSCTS_LARGE_throughput_rd4.txt');
  rtscts5 = importdata('RTSCTS_LARGE_throughput_rd5.txt');
  throughput_rtscts = [rtscts1; rtscts2;rtscts3;rtscts4;rtscts5];


  %SCREAM
  scream1 = importdata('SCREAM_LARGE_throughput_rd1.txt');
  scream2 = importdata('SCREAM_LARGE_throughput_rd2.txt');
  scream3 = importdata('SCREAM_LARGE_throughput_rd3.txt');
  scream4 = importdata('SCREAM_LARGE_throughput_rd4.txt');
  scream5 = importdata('SCREAM_LARGE_throughput_rd5.txt');
  throughput_scream = [scream1; scream2;scream3;scream4;scream5];

  save throughput_samples.mat
end
if (PRKS_LIGHT_5_ROUND == 1)
  %PRKS
  prks951 = importdata('PRKS95_LIGHT_throughput_rd1.txt');
  prks952 = importdata('PRKS95_LIGHT_throughput_rd2.txt');
  prks953 = importdata('PRKS95_LIGHT_throughput_rd3.txt');
  prks954 = importdata('PRKS95_LIGHT_throughput_rd4.txt');
  prks955 = importdata('PRKS95_LIGHT_throughput_rd5.txt');
  throughput_prks95 = [prks951; prks952;prks953;prks954;prks955];

  prks901 = importdata('PRKS90_LIGHT_throughput_rd1.txt');
  prks902 = importdata('PRKS90_LIGHT_throughput_rd2.txt');
  prks903 = importdata('PRKS90_LIGHT_throughput_rd3.txt');
  prks904 = importdata('PRKS90_LIGHT_throughput_rd4.txt');
  prks905 = importdata('PRKS90_LIGHT_throughput_rd5.txt');
  throughput_prks90 = [prks901; prks902;prks903;prks904;prks905];

  prks801 = importdata('PRKS80_LIGHT_throughput_rd1.txt');
  prks802 = importdata('PRKS80_LIGHT_throughput_rd2.txt');
  prks803 = importdata('PRKS80_LIGHT_throughput_rd3.txt');
  prks804 = importdata('PRKS80_LIGHT_throughput_rd4.txt');
  prks805 = importdata('PRKS80_LIGHT_throughput_rd5.txt');
  throughput_prks80 = [prks801; prks802;prks803;prks804;prks805];

  prks701 = importdata('PRKS70_LIGHT_throughput_rd1.txt');
  prks702 = importdata('PRKS70_LIGHT_throughput_rd2.txt');
  prks703 = importdata('PRKS70_LIGHT_throughput_rd3.txt');
  prks704 = importdata('PRKS70_LIGHT_throughput_rd4.txt');
  prks705 = importdata('PRKS70_LIGHT_throughput_rd5.txt');
  throughput_prks70 = [prks701; prks702;prks703;prks704;prks705];


  %RIDB
  rid951 = importdata('RID95_LIGHT_throughput_rd1.txt');
  rid952 = importdata('RID95_LIGHT_throughput_rd2.txt');
  rid953 = importdata('RID95_LIGHT_throughput_rd3.txt');
  rid954 = importdata('RID95_LIGHT_throughput_rd4.txt');
  rid955 = importdata('RID95_LIGHT_throughput_rd5.txt');
  throughput_rid95 = [rid951; rid952;rid953;rid954;rid955];

  rid901 = importdata('RID90_LIGHT_throughput_rd1.txt');
  rid902 = importdata('RID90_LIGHT_throughput_rd2.txt');
  rid903 = importdata('RID90_LIGHT_throughput_rd3.txt');
  rid904 = importdata('RID90_LIGHT_throughput_rd4.txt');
  rid905 = importdata('RID90_LIGHT_throughput_rd5.txt');
  throughput_rid90 = [rid901; rid902;rid903;rid904;rid905];

  rid801 = importdata('RID80_LIGHT_throughput_rd1.txt');
  rid802 = importdata('RID80_LIGHT_throughput_rd2.txt');
  rid803 = importdata('RID80_LIGHT_throughput_rd3.txt');
  rid804 = importdata('RID80_LIGHT_throughput_rd4.txt');
  rid805 = importdata('RID80_LIGHT_throughput_rd5.txt');
  throughput_rid80 = [rid801; rid802;rid803;rid804;rid805];

  rid701 = importdata('RID70_LIGHT_throughput_rd1.txt');
  rid702 = importdata('RID70_LIGHT_throughput_rd2.txt');
  rid703 = importdata('RID70_LIGHT_throughput_rd3.txt');
  rid704 = importdata('RID70_LIGHT_throughput_rd4.txt');
  rid705 = importdata('RID70_LIGHT_throughput_rd5.txt');
  throughput_rid70 = [rid701; rid702;rid703;rid704;rid705];



  %CMAC
  cmac951 = importdata('CMAC95_LIGHT_throughput_rd1.txt');
  cmac952 = importdata('CMAC95_LIGHT_throughput_rd2.txt');
  cmac953 = importdata('CMAC95_LIGHT_throughput_rd3.txt');
  cmac954 = importdata('CMAC95_LIGHT_throughput_rd4.txt');
  cmac955 = importdata('CMAC95_LIGHT_throughput_rd5.txt');
  throughput_cmac95 = [cmac951; cmac952;cmac953;cmac954;cmac955];

  cmac901 = importdata('CMAC90_LIGHT_throughput_rd1.txt');
  cmac902 = importdata('CMAC90_LIGHT_throughput_rd2.txt');
  cmac903 = importdata('CMAC90_LIGHT_throughput_rd3.txt');
  cmac904 = importdata('CMAC90_LIGHT_throughput_rd4.txt');
  cmac905 = importdata('CMAC90_LIGHT_throughput_rd5.txt');
  throughput_cmac90 = [cmac901; cmac902;cmac903;cmac904;cmac905];

  cmac801 = importdata('CMAC80_LIGHT_throughput_rd1.txt');
  cmac802 = importdata('CMAC80_LIGHT_throughput_rd2.txt');
  cmac803 = importdata('CMAC80_LIGHT_throughput_rd3.txt');
  cmac804 = importdata('CMAC80_LIGHT_throughput_rd4.txt');
  cmac805 = importdata('CMAC80_LIGHT_throughput_rd5.txt');
  throughput_cmac80 = [cmac801; cmac802;cmac803;cmac804;cmac805];

  cmac701 = importdata('CMAC70_LIGHT_throughput_rd1.txt');
  cmac702 = importdata('CMAC70_LIGHT_throughput_rd2.txt');
  cmac703 = importdata('CMAC70_LIGHT_throughput_rd3.txt');
  cmac704 = importdata('CMAC70_LIGHT_throughput_rd4.txt');
  cmac705 = importdata('CMAC70_LIGHT_throughput_rd5.txt');
  throughput_cmac70 = [cmac701; cmac702;cmac703;cmac704;cmac705];


  %%CSMA
  csma1 = importdata('CSMA_LIGHT_throughput_rd1.txt');
  csma2 = importdata('CSMA_LIGHT_throughput_rd2.txt');
  csma3 = importdata('CSMA_LIGHT_throughput_rd3.txt');
  csma4 = importdata('CSMA_LIGHT_throughput_rd4.txt');
  csma5 = importdata('CSMA_LIGHT_throughput_rd5.txt');
  throughput_csma = [csma1; csma2;csma3;csma4;csma5];


  %%RTSCTS
  rtscts1 = importdata('RTSCTS_LIGHT_throughput_rd1.txt');
  rtscts2 = importdata('RTSCTS_LIGHT_throughput_rd2.txt');
  rtscts3 = importdata('RTSCTS_LIGHT_throughput_rd3.txt');
  rtscts4 = importdata('RTSCTS_LIGHT_throughput_rd4.txt');
  rtscts5 = importdata('RTSCTS_LIGHT_throughput_rd5.txt');
  throughput_rtscts = [rtscts1; rtscts2;rtscts3;rtscts4;rtscts5];


  %SCREAM
  scream1 = importdata('SCREAM_LIGHT_throughput_rd1.txt');
  scream2 = importdata('SCREAM_LIGHT_throughput_rd2.txt');
  scream3 = importdata('SCREAM_LIGHT_throughput_rd3.txt');
  scream4 = importdata('SCREAM_LIGHT_throughput_rd4.txt');
  scream5 = importdata('SCREAM_LIGHT_throughput_rd5.txt');
  throughput_scream = [scream1; scream2;scream3;scream4;scream5];
  save throughput_samples.mat
end
if VARIANTS_1_ROUND == 1
  throughput_prks95 = importdata('PRKS95_throughput_rd1.txt');
  throughput_prks90 = importdata('PRKS90_throughput_rd1.txt');
  throughput_prks80 = importdata('PRKS80_throughput_rd1.txt');
  throughput_prks70 = importdata('PRKS70_throughput_rd1.txt');

  throughput_prks_r95 = importdata('PRKS_R95_throughput_rd1.txt');
  throughput_prks_r90 = importdata('PRKS_R90_throughput_rd1.txt');
  throughput_prks_r80 = importdata('PRKS_R80_throughput_rd1.txt');
  throughput_prks_r70 = importdata('PRKS_R70_throughput_rd1.txt');

  throughput_prks_l95 = importdata('PRKS_L95_throughput_rd1.txt');
  throughput_prks_l90 = importdata('PRKS_L90_throughput_rd1.txt');
  throughput_prks_l80 = importdata('PRKS_L80_throughput_rd1.txt');
  throughput_prks_l70 = importdata('PRKS_L70_throughput_rd1.txt');
  save throughput_samples.mat
end
if VARIANTS_5_ROUND == 1
  %PRKS
  prks951 = importdata('PRKS95_throughput_rd1.txt');
  prks952 = importdata('PRKS95_throughput_rd2.txt');
  prks953 = importdata('PRKS95_throughput_rd3.txt');
  prks954 = importdata('PRKS95_throughput_rd4.txt');
  prks955 = importdata('PRKS95_throughput_rd5.txt');
  throughput_prks95 = [prks951; prks952;prks953;prks954;prks955];

  prks901 = importdata('PRKS90_throughput_rd1.txt');
  prks902 = importdata('PRKS90_throughput_rd2.txt');
  prks903 = importdata('PRKS90_throughput_rd3.txt');
  prks904 = importdata('PRKS90_throughput_rd4.txt');
  prks905 = importdata('PRKS90_throughput_rd5.txt');
  throughput_prks90 = [prks901; prks902;prks903;prks904;prks905];

  prks801 = importdata('PRKS80_throughput_rd1.txt');
  prks802 = importdata('PRKS80_throughput_rd2.txt');
  prks803 = importdata('PRKS80_throughput_rd3.txt');
  prks804 = importdata('PRKS80_throughput_rd4.txt');
  prks805 = importdata('PRKS80_throughput_rd5.txt');
  throughput_prks80 = [prks801; prks802;prks803;prks804;prks805];

  prks701 = importdata('PRKS70_throughput_rd1.txt');
  prks702 = importdata('PRKS70_throughput_rd2.txt');
  prks703 = importdata('PRKS70_throughput_rd3.txt');
  prks704 = importdata('PRKS70_throughput_rd4.txt');
  prks705 = importdata('PRKS70_throughput_rd5.txt');
  throughput_prks70 = [prks701; prks702;prks703;prks704;prks705];

  %PRKS_L
  prks_l951 = importdata('PRKS_L95_throughput_rd1.txt');
  prks_l952 = importdata('PRKS_L95_throughput_rd2.txt');
  prks_l953 = importdata('PRKS_L95_throughput_rd3.txt');
  prks_l954 = importdata('PRKS_L95_throughput_rd4.txt');
  prks_l955 = importdata('PRKS_L95_throughput_rd5.txt');
  throughput_prks_l95 = [prks_l951; prks_l952;prks_l953;prks_l954;prks_l955];

  prks_l901 = importdata('PRKS_L90_throughput_rd1.txt');
  prks_l902 = importdata('PRKS_L90_throughput_rd2.txt');
  prks_l903 = importdata('PRKS_L90_throughput_rd3.txt');
  prks_l904 = importdata('PRKS_L90_throughput_rd4.txt');
  prks_l905 = importdata('PRKS_L90_throughput_rd5.txt');
  throughput_prks_l90 = [prks_l901; prks_l902;prks_l903;prks_l904;prks_l905];

  prks_l801 = importdata('PRKS_L80_throughput_rd1.txt');
  prks_l802 = importdata('PRKS_L80_throughput_rd2.txt');
  prks_l803 = importdata('PRKS_L80_throughput_rd3.txt');
  prks_l804 = importdata('PRKS_L80_throughput_rd4.txt');
  prks_l805 = importdata('PRKS_L80_throughput_rd5.txt');
  throughput_prks_l80 = [prks_l801; prks_l802;prks_l803;prks_l804;prks_l805];

  prks_l701 = importdata('PRKS_L70_throughput_rd1.txt');
  prks_l702 = importdata('PRKS_L70_throughput_rd2.txt');
  prks_l703 = importdata('PRKS_L70_throughput_rd3.txt');
  prks_l704 = importdata('PRKS_L70_throughput_rd4.txt');
  prks_l705 = importdata('PRKS_L70_throughput_rd5.txt');
  throughput_prks_l70 = [prks_l701; prks_l702;prks_l703;prks_l704;prks_l705];

  %PRKS_R
  prks_r951 = importdata('PRKS_R95_throughput_rd1.txt');
  prks_r952 = importdata('PRKS_R95_throughput_rd2.txt');
  prks_r953 = importdata('PRKS_R95_throughput_rd3.txt');
  prks_r954 = importdata('PRKS_R95_throughput_rd4.txt');
  prks_r955 = importdata('PRKS_R95_throughput_rd5.txt');
  throughput_prks_r95 = [prks_r951; prks_r952;prks_r953;prks_r954;prks_r955];

  prks_r901 = importdata('PRKS_R90_throughput_rd1.txt');
  prks_r902 = importdata('PRKS_R90_throughput_rd2.txt');
  prks_r903 = importdata('PRKS_R90_throughput_rd3.txt');
  prks_r904 = importdata('PRKS_R90_throughput_rd4.txt');
  prks_r905 = importdata('PRKS_R90_throughput_rd5.txt');
  throughput_prks_r90 = [prks_r901; prks_r902;prks_r903;prks_r904;prks_r905];

  prks_r801 = importdata('PRKS_R80_throughput_rd1.txt');
  prks_r802 = importdata('PRKS_R80_throughput_rd2.txt');
  prks_r803 = importdata('PRKS_R80_throughput_rd3.txt');
  prks_r804 = importdata('PRKS_R80_throughput_rd4.txt');
  prks_r805 = importdata('PRKS_R80_throughput_rd5.txt');
  throughput_prks_r80 = [prks_r801; prks_r802;prks_r803;prks_r804;prks_r805];

  prks_r701 = importdata('PRKS_R70_throughput_rd1.txt');
  prks_r702 = importdata('PRKS_R70_throughput_rd2.txt');
  prks_r703 = importdata('PRKS_R70_throughput_rd3.txt');
  prks_r704 = importdata('PRKS_R70_throughput_rd4.txt');
  prks_r705 = importdata('PRKS_R70_throughput_rd5.txt');
  throughput_prks_r70 = [prks_r701; prks_r702;prks_r703;prks_r704;prks_r705];

  save throughput_samples.mat
end
